package aos.maekawa.entity;

import java.io.Serializable;

public class Message implements Serializable {
	private static final long serialVersionUID = 1L;
	private int toId;
	private int fromId;
	private int cst;
	private int reqId;
	private MessageType msgType;
	private ReportData report;

	public String toString() {
		return "fromId: " + fromId + " toId: " + toId + " msgType: " + msgType;
	}

	public MessageType getMsgType() {
		return msgType;
	}

	public void setMsgType(MessageType msgType) {
		this.msgType = msgType;
	}

	public ReportData getReport() {
		return report;
	}

	public void setReport(ReportData report) {
		this.report = report;
	}

	public int getToId() {
		return toId;
	}

	public void setToId(int toId) {
		this.toId = toId;
	}

	public int getFromId() {
		return fromId;
	}

	public void setFromId(int fromId) {
		this.fromId = fromId;
	}

	public int getCst() {
		return cst;
	}

	public void setCst(int cst) {
		this.cst = cst;
	}

	public int getReqId() {
		return reqId;
	}

	public void setReqId(int reqId) {
		this.reqId = reqId;
	}

}
